package com.example.demo.service;

import com.example.demo.dataobject.UserInfo;

public interface UserInfoService {
    boolean validateLogin(String telephone, String encryptPassword);
    boolean register(String telephone,String encryptPassword);
    boolean modifyPassword(String telephone,String originalPassword,String currentPassword);
    boolean modifyNickname(String telephone,String nickname);
    boolean modifyTelephone(String originalTelephone,String password,String currentTelephone);
    UserInfo findByTelephone(String telephone);
    boolean modifyProfilePicture(String telephone,Integer pictureId);

}
